//函数组合要满足结合律
const _ = require('lodash')

// const f = compose(_.toUpper, _.first, _.reverse);
const f = compose(_.toUpper, _.flowRight( _.first, _.reverse));
console.log(f(["a", "b", "c"]));
